<!DOCTYPE html>
<html style="height: 100%;">
  <head>
    <title>ONLYOFFICE Api 文档</title>
  </head>
  <body style="height: 100%; margin: 0;">
    <div id="placeholder" style="height: 100%"></div>
    <script
      type="text/javascript"
      src="http://192.168.85.100:81/web-apps/apps/api/documents/api.js"
    ></script>

    <script type="text/javascript">
      window.docEditor = new DocsAPI.DocEditor("placeholder", {
        document: {
          fileType: "docx",
          key: "",
          title: "李佩珊",
          url: "http://192.168.85.100/lps.docx"
        },
        documentType: "word",
        editorConfig: {
          mode: "view"
        },
        height: "100%",
        width: "100%"
      });
    </script>
  </body>
</html>
